﻿<Window x:Class="SnowmanConsulting.ProductKeyManager.UI.Settings"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:SnowmanConsulting.ProductKeyManager" 
    xmlns:ui="clr-namespace:SnowmanConsulting.ProductKeyManager.UI"
    Title="Settings" Height="400" Width="400" Loaded="Window_Loaded">
    <Window.Resources>
    </Window.Resources>
    <ScrollViewer>
        <DockPanel>
            <ToolBar DockPanel.Dock="Bottom">
                <Button Margin="2" Name="SettingsOk" Width="50" Click="SettingsOk_Click">Ok</Button>
                <Button Margin="2" Name="SettingsCancel" Click="SettingsCancel_Click" Width="50">Cancel</Button>
                <Button Margin="2" Name="SettingsApply" Click="SettingsApply_Click" Width="50">Apply</Button>
            </ToolBar>
            <StackPanel>
                <GroupBox Header="General">
                    <StackPanel>
                        <CheckBox Margin="4" Name="chkEnableXsl">Enable XSL Stylesheets on export</CheckBox>
                        <Label Margin="2" Content="Sort Name By:"/>
                        <ComboBox Name="cmbSortName"/>
                        <Label Margin="2" Content="Sort Key Count By:"/>
                        <ComboBox Name="cmbSortKeyCount"/>
                    </StackPanel>
                </GroupBox>
                <GroupBox Header="Log" IsEnabled="True">
                    <StackPanel>
                        <Label Content="Log File Location:"/>
                        <TextBox Name="mLogFile"/>
                    </StackPanel>
                </GroupBox>
            </StackPanel>
        </DockPanel>
    </ScrollViewer>
</Window>
